#ifndef MYTABLEVIEW_H
#define MYTABLEVIEW_H

#include <QTableView>
#include <QMouseEvent>
class MytableModel;
class MyTableView : public QTableView
{
    Q_OBJECT
public:
    explicit MyTableView(QWidget *parent = nullptr);

signals:
protected:
protected:
    void mouseMoveEvent(QMouseEvent *event) override;
    void paintEvent(QPaintEvent *event) override;
private slots:
    void onTableClicked(const QModelIndex &);
private:
    MytableModel *  m_pMyTableModel;
    long long       m_lhoveredRow;

};

#endif // MYTABLEVIEW_H
